﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Huyn="clr-namespace:Huyn;assembly=Huyn.PageRotation" 
    x:Class="RotationPageTest.MainPage"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Landscape">
 
    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
            <shell:ApplicationBarIconButton IconUri="/icons/appbar.add.rest.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/icons/appbar.check.rest.png" Text="Button 2"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

	<i:Interaction.Behaviors>
		<Huyn:PageRotationBehavior/>
	</i:Interaction.Behaviors>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Black">
    	<TextBlock TextWrapping="Wrap" VerticalAlignment="Top" Text="Fuse is a rich newsreader designed exclusively for your Windows Phone. Browse all your favorites feeds in a beautifully designed app. Featuring 3 unique and attractive themes and lightning-fast performance, Fuse will be your ideal and indispensable companion for your windows phone" Foreground="#DEFFFFFF"/>
    	<Image Source="icons/MB_0015_reload.png" Stretch="Fill" Width="250" Height="250" VerticalAlignment="Center" HorizontalAlignment="Center"/>
    	<Button Content="left" HorizontalAlignment="Left" Height="88" Margin="8,0,0,34" VerticalAlignment="Bottom" Width="202" Background="Transparent" BorderBrush="White" Foreground="#DEFFFFFF"/>
    	<Button Content="right" HorizontalAlignment="Right" Height="88" Margin="0,0,8,34" VerticalAlignment="Bottom" Width="202" Background="Transparent" BorderBrush="White" Foreground="#DEFFFFFF"/>
        </Grid>

</phone:PhoneApplicationPage>